var SearchForm = function () {
  var template = /* html */ `
    <div class="search-form">
      <el-form inline label-width="auto">
        <el-form-item label="状态">
          <el-select clearable v-model="search.status" style="width:200px">
            <el-option v-for="item in statusList" :key="item.value" :value="item.value" :label="item.label">
            </el-option>
          </el-select>
        </el-form-item>
      </el-form>
    </div>
  `;

  return {
    props: {
      search: {
        type: Object,
        required: true
      }
    },

    data: function () {
      return {
        statusList: i18n.getDropDown('bomBusiness.status', [1, 0])
      };
    },

    template: template
  };
}();
